package com.pur.zsms.cost.dao;

import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.cost.po.CostPo;
import com.pur.zsms.cost.po.CostSubPo;
import com.pur.zsms.cost.vo.CostVo;
import com.pur.zsms.financing.vo.FinancingVo;
import com.pur.zsms.turnover.vo.TurnoverVo;

public interface ICostDao {

	public List<CostPo> getCostPo(CostVo tCostVo) throws GenericException;

	public void addCostPo(CostPo c) throws GenericException;

	public void updateCostPo(CostPo c) throws GenericException;

	public void addCostSubPo(CostSubPo c) throws GenericException;

	public List<Object> getMaxAddId(FinancingVo tFinancingVo);

	public List<CostSubPo> getFileName(long costId, long costSubId);

	public PaginationSupport listCostSubList(PageController pageController, CostVo costVo) throws GenericException;

	public void deleteCost(FinancingVo c) throws GenericException;

	public PaginationSupport costDetailForManager(PageController pageController, CostVo costVo) throws GenericException;
}
